Dynomotion

Group: DynoMotion Message: 5619 From: mrosenfield2 Date: 8/29/2012
Subject: tool lenght compensation
Tom,
According to the EMC info, a G92.2 cancels the global offsets, but does not zero the saved values; a G92.3 is supposed to re-enable these stored values.
However, it does not appear that KMotionCNC is doing this. The global offsets do cancel, but they don't come back.
Am I reading this wrong?

Thanks,
Michael Rosenfield
Group: DynoMotion Message: 5620 From: Tom Kerekes Date: 8/29/2012
Subject: Re: tool lenght compensation
Hi Mike,
 
I just tried it and it seems to work for me.  I did:
 
Starting off with Machine Coord = DROs = 0
 
G1X1       (Moves to X=1, DRO shows 1, Machine Coord = 1, Internal Offset=0)
G92X10   (DRO changes to 10, Machine Coord remain 1, Internal Offset=9, Internal Var=9)
G92.2      (DRO changes to 1, Machine Coord remain 1, Internal Offset=0, Internal Var=9)
G92.3      (DRO changes to 10, Machine Coord remain 1, Internal Offset=9, Internal Var=9)
 
Tool length compensation is something different however.
 
 
Regards
TK
 

Group: DynoMotion Message: 5622 From: Michael Rosenfield Date: 8/29/2012
Subject: Re: tool lenght compensation
What I did was to use the zero buttons on the control panel of KMotionCNC instead of G92X10.
Then I executed a G92.2, and the XYZ positions changed to equal machine position.
Then I executed a few other lines of code, and a G92.3.
The position displays continue to display the same values as the machine position.
Don't the Zero buttons do the same thing as a G92?
 
Group: DynoMotion Message: 5629 From: Tom Kerekes Date: 8/29/2012
Subject: Re: tool lenght compensation
Hi Mike,
 
I looked at the Zero button code and it sets the G92 internal offset but does not set the Internal Var.
 
So you are correct that wouldn't work in that way.  We could change it to update the Var also if you need that functionality.
 
Regards
TK 

Group: DynoMotion Message: 5630 From: Michael Rosenfield Date: 8/29/2012
Subject: Re: tool lenght compensation
That would be great!
Yes, please!
 
Group: DynoMotion Message: 5631 From: Tom Kerekes Date: 8/29/2012
Subject: Re: tool lenght compensation
Mike,
 
Copy this:
 
 
to your C:\KMotion430d\KMotion\Release directory and see if it works for you.
 
Regards
TK

Group: DynoMotion Message: 5632 From: Michael Rosenfield Date: 8/29/2012
Subject: Re: tool lenght compensation
Thanks very much, Tom.
I'll try that in the morning.
You have KMotion430d listed - did you mean 430b? That's the version I have.
Michael
 
Group: DynoMotion Message: 5633 From: Tom Kerekes Date: 8/29/2012
Subject: Re: tool lenght compensation
Hi Mike,
 
It should also work with KMotion430b
 
Regards
TK
 
Group: DynoMotion Message: 5634 From: Michael Rosenfield Date: 8/30/2012
Subject: Re: tool lenght compensation
Works great, Tom - just what I needed.
Thanks again!

 Michael Rosenfield